package com.flyme.module.base.client.api;

import com.flyme.common.core.model.ResultBody;
import com.flyme.common.core.model.query.PagerInfo;
import com.flyme.module.base.client.entity.SysActivityrecord;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/activityrecord/")
public interface SysActivityrecordRemoteService {

    /**
     * 活动记录列表
     * @return
     */
    @PostMapping("/list")
    ResultBody list(PagerInfo pagerInfo, SysActivityrecord activityrecord);

    /**
     * 设置活动状态
     * @return
     */
    @PostMapping("/setStatus")
    ResultBody setStatus(SysActivityrecord activityrecord);

    /**
     * 根据活动id查询活动
     * @return
     */
    @GetMapping("/get/{id}")
    ResultBody get(@PathVariable Long id);

}
